import 'package:get/get_connect.dart';
import 'package:school_assistant_m/store/login_store.dart';
import 'package:school_assistant_m/utils/base_api.dart';

// ignore: camel_case_types
class LoginApi extends BaseApi{
  //登录请求
  Future<Map<String, dynamic>> login(Map loginForm) async {
    Response response = await post('/login/', loginForm);
    return response.body;
  }
}